const uiExample = {
  root: 'example',
  pages: [
    'Demo/BasePage/index',
    'Demo/BackPage/index',
    'Demo/ListPage/index',
    'Demo/DetailPage/index',
    'Demo/FormPage/index',
    'Button',
    'Cell',
    'Grid',
    'Divider',
    'Space',
    'LinearGradient',
    'BoxShadow',
    'Loading',
    'Icon',
    'Header',
    'Tab',
    'Tag',
    'Avatar',
    'Badge',
    'Card',
    'Image',
    'Text',
    'Menu',
    'Chart',
    //  'Map',
    'Calendar',
    'Switch',
    'Upload',
    'Elevator',
    'TabBar',
    'Step',
    'Sign',
    'TopView',
    'PullView',
    'Layout',
    'LongPress',
    'Absolute',
    'Modal',
    'DropDown',
    'Column',
    'Row',
    'Empty',
    'confirm',
    'message',
    'loadingUtil',
    'HtmlView',
    // "Share",
  ],
};

export default defineAppConfig({
  pages: ['pages/index/index', 'pages/Login/index', 'pages/Webview/index', 'pages/LogPage/index'],
  subPackages: [uiExample],
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#fff',
    navigationBarTitleText: 'WeChat',
    navigationBarTextStyle: 'black',
    navigationStyle: 'custom',
  },
});
